<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<html>
<head>
    <title>register</title>
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.2/js/bootstrapValidator.min.js"></script>
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery.bootstrapvalidator/0.5.2/css/bootstrapValidator.min.css"/>
    <link rel="stylesheet" href="css/bg.css">
    <script src="js/inputValidator.js"></script>
</head>
<body>
<div class="container">

    <a href="/loginInput"  class="btn btn-success " style="float: right;">Login</a>
    <form action="/registerCheck" id="form1">
        <div class="form row">
            <div class="form-horizontal col-md-offset-3" id="login_form">
                <h3 class="form-title">注册</h3>
                <div class="col-md-9">
                    <div class="form-group">
                        <label>姓名</label>
                        <input class="form-control required" type="text"  id="username" name="username" autofocus="autofocus" maxlength="20"/>
                        <span></span>
                    </div>
                    <div class="form-group">
                        <label>密码</label>
                        <input class="form-control required" type="password"  id="password" name="password" maxlength="20"/>
                    </div>
                    <div class="form-group">
                        <label>联系方式</label>
                        <input class="form-control required" type="text"  id="telephone" name="telephone" autofocus="autofocus" maxlength="40"/>
                        <span></span>
                    </div>
                    <div class="form-group">
                        <label>邮箱</label>
                        <input class="form-control required" type="email"  id="email" name="email" autofocus="autofocus" maxlength="40"/>
                        <span></span>
                    </div>
                    <div class="form-group">
                        <label>住址</label>
                        <input class="form-control required" type="text"  id="address" name="address" autofocus="autofocus" maxlength="40"/>
                        <span></span>
                    </div>
                    <div class="form-group col-md-offset-9">
                        <button type="submit" class="btn btn-success pull-right" name="submit">注册</button>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>

</body>
</html>